/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

import com.hykj.xxltest.base.BaseModel;

import java.util.Date;


/**
 * 私信
 * 
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-04-07 13:25:14
 */
public class UserMessageModel extends BaseModel {
	
    /**
     * 
     */
	private Integer id;
    /**
     * 
     */
	private Date createTime;
    /**
     * 内容
     */
	private String content;
    /**
     * 用户ID
     */
	private Integer userId;
    /**
     * 是否已读 1已读 0未读
     */
	private Integer hasread;
    /**
     * 标题
     */
	private String title;

	/**
	 * 设置：
	 */
	@Override
    public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	@Override
    public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：内容
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：内容
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：是否已读 1已读 0未读
	 */
	public void setHasread(Integer hasread) {
		this.hasread = hasread;
	}
	/**
	 * 获取：是否已读 1已读 0未读
	 */
	public Integer getHasread() {
		return hasread;
	}
	/**
	 * 设置：标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 获取：标题
	 */
	public String getTitle() {
		return title;
	}
}
